import { Module } from '@nestjs/common'
import { UserService } from './user.service'
import { UserController } from './user.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { User, UserRole } from './entities/user.entity'
import { MenuModule } from 'src/auth/menu/menu.module'
import { LoggerModule } from 'src/logger/logger.module'
@Module({
  imports: [
    LoggerModule,
    TypeOrmModule.forFeature([User, UserRole]),
    MenuModule
  ],
  controllers: [UserController],
  providers: [UserService],
  exports: [UserService]
})
export class UserModule {}
